package opensocial.apps.treat.model
{
 
  import mx.collections.ArrayCollection;
  
  public class Constants
  {    
    public static const BACKEND_URL_BASE:String = "http://www.unickway.org.cn:8080/treat/req";
    
    //public static const BACKEND_URL_BASE:String = "http://temp18/treat/req";

    public static const API_GET_PLAYER:String = BACKEND_URL_BASE + "?cmd=getplayer&ctn=default&";
    
    public static const API_INIT:String = BACKEND_URL_BASE + "?cmd=init&ctn=default&";
    
    public static const API_GET_PLACE:String = BACKEND_URL_BASE + "?cmd=getplace&ctn=default&";
    
    public static const API_INVITE:String = BACKEND_URL_BASE + "?cmd=invite&ctn=default&";
    
    public static const API_GET_INVITES:String = BACKEND_URL_BASE + "?cmd=getcal&ctn=default&";
    
    public static const WWW_URL_BASE:String = "http://www.unickway.org.cn/zakiyy/apps/";
    
    public static const displayBackgroud:Boolean = true;
   
    public static const LEVELS:ArrayCollection = new ArrayCollection (
          [
            new Level(0,"初来乍请", 2, 1, 20, 5),
            new Level(1,"登堂室请", 3, 2, 120, 10),
            new Level(2,"圆转纯请", 3, 2, 600, 20),
            new Level(3,"堂奥初请", 4, 2, 7200, 40),
            new Level(4,"略成小请", 4, 3, 12000, 60),
            new Level(5,"渐行佳请", 5, 3, 20000, 80),
            new Level(6,"炉火纯请", 5, 4, 30000, 120),
            new Level(7,"自成一请", 6, 4, 50000, 160),
            new Level(8,"已臻大请", 6, 5, 80000, 240),
            new Level(9,"请行圆满", 7, 5, 120000, 360),
            new Level(10,"登峰造请", 7, 6, 180000, 480)
          ]);  
    
    public function Constants()
    {
    }

  }
}